Where are DXL hooks to run user-form?

Under main menu Tools\Forms, there are sub-items New Form, Edit Form, Run Form, and Delete Form.

Is there a means in DXL API to run a user-created form?

For example if a user created a form called MyCustomForm, how would it be loaded and run via DXL control?
SystemAdmin - Tue Apr 13 11:05:52 EDT 2010

Re: Where are DXL hooks to run user-form?
Mathias Mamsch - Tue Apr 13 11:50:31 EDT 2010

These userforms are partly accessible through built in perms:
 

bool deleteModuleForm (Module, string)
string getModuleFormAttr (Module, string)
string getModuleFormProperties (Module, string)
bool updateModuleForm (Module, string, string, string)
bool addModuleForm (Module, string, string, string)
string getNextModuleFormName (Module, string)

 


The menu DXL in lib/dxl/standard/moduleForms will take these ModuleFormProperties and generate DXL code from them to create a GUI. This is a very complex process and cannot easily be reproduced, so these perms will be pretty useless for you. So I guess you will have not much luck running a form, unless you use the same code as the (encrypted) dxl library.

What do you want to do with user forms anyway?

Regards, Mathias

 

Re: Where are DXL hooks to run user-form?
SystemAdmin - Tue Apr 13 12:17:45 EDT 2010

Mathias Mamsch - Tue Apr 13 11:50:31 EDT 2010

These userforms are partly accessible through built in perms:
 

bool deleteModuleForm (Module, string)
string getModuleFormAttr (Module, string)
string getModuleFormProperties (Module, string)
bool updateModuleForm (Module, string, string, string)
bool addModuleForm (Module, string, string, string)
string getNextModuleFormName (Module, string)

 


The menu DXL in lib/dxl/standard/moduleForms will take these ModuleFormProperties and generate DXL code from them to create a GUI. This is a very complex process and cannot easily be reproduced, so these perms will be pretty useless for you. So I guess you will have not much luck running a form, unless you use the same code as the (encrypted) dxl library.

What do you want to do with user forms anyway?

Regards, Mathias

 

We have a custom test data entry dialog box. On this dialog box there is a means to jump to an arbitrary object id (via text box and Jump To button). If the object id was a test step, the custom dialog box would be populated with object data. If it was not a test step, it could be the user wants to read something else for reference (or did a typo). I could pop up a dialog box and display the object."Object Text". But the desired reference information could be in other columns. I was thinking if users could make there own "reference form" for this situation, they could show whatever they want and users would be in charge of what to show

However if there is not means to do "Show user-form MyUserForm populated from thisObject", then I'll forget about this idea.

It seems strange something like runModuleForm(string myFormName, Object objectToDisplay) does not exist.

I wonder what happens behind the scenes when a user menu navigates to Tools\Forms\Run Form and (for example) MyUserForm is chosen.

Thanks for you reply in any event.

dxl program to run a form every time a new object is created?
Gsquare - Wed Aug 13 07:06:52 EDT 2014

SystemAdmin - Tue Apr 13 12:17:45 EDT 2010
We have a custom test data entry dialog box. On this dialog box there is a means to jump to an arbitrary object id (via text box and Jump To button). If the object id was a test step, the custom dialog box would be populated with object data. If it was not a test step, it could be the user wants to read something else for reference (or did a typo). I could pop up a dialog box and display the object."Object Text". But the desired reference information could be in other columns. I was thinking if users could make there own "reference form" for this situation, they could show whatever they want and users would be in charge of what to show

However if there is not means to do "Show user-form MyUserForm populated from thisObject", then I'll forget about this idea.

It seems strange something like runModuleForm(string myFormName, Object objectToDisplay) does not exist.

I wonder what happens behind the scenes when a user menu navigates to Tools\Forms\Run Form and (for example) MyUserForm is chosen.

Thanks for you reply in any event.

Hi,

i want to write a dxl code so that  a user defined form is run whenever a new object is created.

Please help.